public class Test {
    public static void main(String[] args) {

        Teacher t1 = new Teacher("T001", "张老师", "男");
        Teacher t2 = new Teacher("T002", "李老师", "女");

        Course c1 = new Course("C001", "线性代数", "A101", "周一8:00-9:40");
        Course c2 = new Course("C002", "JAVA编程", "B202", "周三10:00-11:40");

        t1.openCourse(c1);
        t2.openCourse(c2);

        Student s1 = new Student("2024310001", "小明", "男");
        Student s2 = new Student("2024310002", "小红", "女");

        s1.chooseCourse(c1);
        s1.chooseCourse(c2);
        s1.dropCourse(c1);
        s2.chooseCourse(c2);

        t1.printInfo();
        t2.printInfo();
        t1.printTeach();
        t2.printTeach();
        s1.printCourses();
        s2.printCourses();
    }
}